//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Chicago Hounds Rugby vs. Old Glory DC','SeatGeek Stadium','Bridgeview, IL','Saturday','5/11/2024','5:00 PM','6262375','Chicago-Hounds-Rugby-vs--Old-Glory-DC-5-11-2024'],['Chicago Red Stars vs. Utah Royals','SeatGeek Stadium','Bridgeview, IL','Sunday','5/12/2024','4:30 PM','6235498','Chicago-Red-Stars-vs--Utah-Royals-5-12-2024'],['Chicago Red Stars vs. Racing Louisville FC','SeatGeek Stadium','Bridgeview, IL','Saturday','5/25/2024','6:30 PM','6235500','Chicago-Red-Stars-vs--Racing-Louisville-FC-5-25-2024'],['Chicago Hounds Rugby vs. NOLA Gold','SeatGeek Stadium','Bridgeview, IL','Sunday','5/26/2024','1:00 PM','6262376','Chicago-Hounds-Rugby-vs--NOLA-Gold-5-26-2024'],['Lyrical Lemonade Summer Smash: Cactus Jack, Playboi Carti & Chief Keef - 3 Day Pass','SeatGeek Stadium','Bridgeview, IL','Friday','6/14/2024','TBD','6408374','Lyrical-Lemonade-Summer-Smash--Cactus-Jack--Playboi-Carti---Chief-Keef---3-Day-Pass-6-14-2024'],['Chicago Hounds Rugby vs. San Diego Legion','SeatGeek Stadium','Bridgeview, IL','Saturday','6/15/2024','6:00 PM','6262378','Chicago-Hounds-Rugby-vs--San-Diego-Legion-6-15-2024'],['Chicago Hounds Rugby vs. Miami Sharks','SeatGeek Stadium','Bridgeview, IL','Saturday','6/29/2024','6:00 PM','6262382','Chicago-Hounds-Rugby-vs--Miami-Sharks-6-29-2024'],['Chicago Red Stars vs. Houston Dash','SeatGeek Stadium','Bridgeview, IL','Saturday','7/6/2024','12:00 PM','6235534','Chicago-Red-Stars-vs--Houston-Dash-7-6-2024'],['Leagues Cup: Chicago Fire FC vs. Toluca','SeatGeek Stadium','Bridgeview, IL','Thursday','8/1/2024','8:00 PM','6322748','Leagues-Cup--Chicago-Fire-FC-vs--Toluca-8-1-2024'],['North Coast Music Festival - 3 Day Pass','SeatGeek Stadium','Bridgeview, IL','Friday','8/30/2024','TBD','6246022','North-Coast-Music-Festival---3-Day-Pass-8-30-2024'],['North Coast Music Festival - Friday','SeatGeek Stadium','Bridgeview, IL','Friday','8/30/2024','2:00 PM','6315458','North-Coast-Music-Festival---Friday-8-30-2024'],['North Coast Music Festival - Saturday','SeatGeek Stadium','Bridgeview, IL','Saturday','8/31/2024','12:00 PM','6286811','North-Coast-Music-Festival---Saturday-8-31-2024'],['North Coast Music Festival - Sunday','SeatGeek Stadium','Bridgeview, IL','Sunday','9/1/2024','2:00 PM','6315459','North-Coast-Music-Festival---Sunday-9-1-2024'],['2024 James Madison Dukes Football Season Tickets (Includes Tickets To All Regular Season Home Games)','Bridgeforth Stadium','Harrisonburg, VA','Friday','9/6/2024','TBD','6107048','2024-James-Madison-Dukes-Football-Season-Tickets--Includes-Tickets-To-All-Regular-Season-Home-Games--9-6-2024'],['James Madison Dukes vs. Gardner-Webb Runnin' Bulldogs','Bridgeforth Stadium','Harrisonburg, VA','Saturday','9/7/2024','TBD','6118961','James-Madison-Dukes-vs--Gardner-Webb-Runnin--Bulldogs-9-7-2024'],['Chicago Red Stars vs. Orlando Pride','SeatGeek Stadium','Bridgeview, IL','Sunday','9/8/2024','5:00 PM','6235535','Chicago-Red-Stars-vs--Orlando-Pride-9-8-2024'],['Chicago Red Stars vs. San Diego Wave FC','SeatGeek Stadium','Bridgeview, IL','Saturday','9/21/2024','8:30 PM','6235536','Chicago-Red-Stars-vs--San-Diego-Wave-FC-9-21-2024'],['James Madison Dukes vs. Ball State Cardinals','Bridgeforth Stadium','Harrisonburg, VA','Saturday','9/28/2024','TBD','6118965','James-Madison-Dukes-vs--Ball-State-Cardinals-9-28-2024'],['Chicago Red Stars vs. North Carolina Courage','SeatGeek Stadium','Bridgeview, IL','Sunday','9/29/2024','5:00 PM','6235537','Chicago-Red-Stars-vs--North-Carolina-Courage-9-29-2024'],['James Madison Dukes vs. Coastal Carolina Chanticleers','Bridgeforth Stadium','Harrisonburg, VA','Thursday','10/10/2024','TBD','6299933','James-Madison-Dukes-vs--Coastal-Carolina-Chanticleers-10-10-2024'],['Chicago Red Stars vs. NJ/NY Gotham FC','SeatGeek Stadium','Bridgeview, IL','Saturday','10/12/2024','3:00 PM','6235538','Chicago-Red-Stars-vs--NJ-NY-Gotham-FC-10-12-2024'],['James Madison Dukes vs. Southern Miss Golden Eagles','Bridgeforth Stadium','Harrisonburg, VA','Saturday','10/26/2024','TBD','6299936','James-Madison-Dukes-vs--Southern-Miss-Golden-Eagles-10-26-2024'],['Chicago Red Stars vs. Kansas City Current','SeatGeek Stadium','Bridgeview, IL','Sunday','11/3/2024','2:00 PM','6235539','Chicago-Red-Stars-vs--Kansas-City-Current-11-3-2024'],['James Madison Dukes vs. Georgia State Panthers','Bridgeforth Stadium','Harrisonburg, VA','Saturday','11/9/2024','TBD','6299939','James-Madison-Dukes-vs--Georgia-State-Panthers-11-9-2024'],['James Madison Dukes vs. Marshall Thundering Herd','Bridgeforth Stadium','Harrisonburg, VA','Saturday','11/30/2024','TBD','6299942','James-Madison-Dukes-vs--Marshall-Thundering-Herd-11-30-2024']],'Bridgeforth Stadium','http://www.ticketnetwork.com/ticket/Bridgeforth-Stadium-events.aspx');